/**
 * <p>Copyright (c) 2011 深圳市鹏途信息技术有限公司 </p>
 * <p>				   All right reserved. 		     </p>
 * 
 * <p>项目名称 ： 	东莞交通工程质量监督综合业务系统        </p>
 * <p>创建者   :	libitum 
 * 
 * <p>描   述  :   ApplPetition.java for com.pengtu.entity.business    </p>
 * 
 * <p>最后修改 : $: 2011-7-12-下午04:10:17 v 1.0.0	 libitum   $     </p>
 * 
*/

package com.pengtu.entity.business.application;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.pengtu.entity.business.BasicPetition;

/**
 * 质量监督申请书
 * ApplPetition
 * 
 * 2011-7-12 下午04:10:17
 * 
 * @version 1.0.0
 * 
 */
@Entity
@Table(name = "T_Q_CASE_APPL_PETITION")
public class ApplPetition extends BasicPetition {

	/**
	 * serialVersionUID:TODO
	 *
	 * @since 1.0.0
	 */
	
	private static final long serialVersionUID = 1L;
	
	private String mobilePhone;//手机
	
	private String adress;//通讯地址
	
	private String zipCode;//邮政编码
	
	private FlowApplication flowApplication;//流程

	@Column(name="MOBILEPHONE")
	public String getMobilePhone() {
		return mobilePhone;
	}
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	
	@Column(name="ADRESS")
	public String getAdress() {
		return adress;
	}
	public void setAdress(String adress) {
		this.adress = adress;
	}
	
	@Column(name="ZIPCODE")
	public String getZipCode() {
		return zipCode;
	}
	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}
	
	@ManyToOne(targetEntity = FlowApplication.class, fetch = FetchType.LAZY)
	@JoinColumn(name = "FID")
	public FlowApplication getFlowApplication() {
		return flowApplication;
	}
	public void setFlowApplication(FlowApplication flowApplication) {
		this.flowApplication = flowApplication;
	}
}
